<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<title>JBlog v<?php echo JBlog::VERSION?> 管理控制面板</title>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8">
<link rel="stylesheet" href="<?php echo THEME_URL.'/css/style.css'?>" type="text/css" media="all" />
</head>
<body style="margin:0px;" scroll="no">
<table width="100%" height="100%" cellspacing="0" cellpadding="0">
	<tr>
		<td id="header">
			<em id="version"><?php echo number_format(floatval(JBlog::VERSION),1)?></em>

			<ul id="topmenu">
				<li><a href="<?php echo URL('index.main')?>" target="main">后台首页</a></li>
				<li><a href="./" target="_blank">网站首页</a></li>
				<li><a href="<?php echo URL('account.logout')?>" target="_top">退出登陆</a></li>
			</ul>
		</td>
	</tr>
	<tr><td>
	<table width="100%" height="100%" cellspacing="0" cellpadding="0">
	<tr><td id="left_top"></td><td id="main_top"></td></tr>
	<tr>
		<td id="left" valign="top">

		<ul id="shortcut">
			<li class="write"><a href="<?php echo URL('post.write')?>" target="main" title="撰写文章">撰写</a></li>
			<li class="comment"><a href="<?php echo URL('comment.index', 'filter=unchk')?>" target="main" title="查看未审核的评论">评论</a><?php if ($newcmt) {echo '<span class="newcomment">'.$newcmt.'</span>';}?></li>
		</ul>

		<ul id="menu">
			<?php
			foreach ($menu as $row) {
				echo '<li><a href="'.$row['url'].'" target="main">'.$row['name'].'</a></li>';
			}
			?>
		</ul>
		<div id="copyright">Powered by <a href="http://www.lisijie.org" target="_blank">JBlog</a> <?php echo JBlog::VERSION?><br />&copy; 2008-2010 <a href="http://www.lisijie.org" title="思杰软件" target="_blank">lisijie.org</a>.</div>
		</td>
		<td width="*">
			<iframe src="<?php echo URL('index.main')?>" width="100%" height="100%" id="main" name="main" frameborder="0" scrolling="yes" style="overflow:visible;"></iframe>
		</td>
	</tr>
	</table>
	<td></tr>
</table>
<script type="text/javascript">
var lastmenu = '';
var menus = document.getElementById('menu').getElementsByTagName('a');
for (var i=0; i<menus.length; i++) {
	var menu = menus[i];
	menu.onclick = function() {
		for (var i=0; i<menus.length; i++) {
			menus[i].className = '';
		}
		this.className = 'on';
		this.blur();
	}
}
</script>
</body>
</html>